package com.smzd.ccms.mappers;

import java.util.List;

import com.smzd.ccms.domain.Comment;
import com.smzd.core.mappers.IMapper;
import com.smzd.framework.utils.db.RPage;

public interface CommentMapper extends IMapper<Comment> {

    List<Comment> getCommentsForArticle(RPage<Comment> page);

    int getCommentsContForArticle(RPage<Comment> page);

	void updateCommentStatus(Comment comment);

	List<Comment> getCommentsForFirstArticle(Integer chId);

}